export const SERVICE_TYPE = {
  DICK_EVAL: 1,
  NAME_ON_BODY: 2,
  JOI: 3,
  EATING: 4,
  COS: 5,
  CUST_VIDEO: 6,
  PROGRAM: 7,
}

export const SERVICE_NAME = {
  [SERVICE_TYPE.DICK_EVAL]: '老二評鑑',
  [SERVICE_TYPE.NAME_ON_BODY]: '寫名字在身上',
  [SERVICE_TYPE.JOI]: 'JOI視頻',
  [SERVICE_TYPE.EATING]: '請我吃飯',
  [SERVICE_TYPE.COS]: '角色扮演',
  [SERVICE_TYPE.CUST_VIDEO]: '客制影片',
  [SERVICE_TYPE.PROGRAM]: '節目影片',
}

export const UPLOAD_STATUS = {
  PENDING: 'pending',
  PREPROCESSING: 'preprocessing',
  UPLOADING: 'uploading',
  DONE: 'done',
  FAIL: 'fail',
  SAVE: 'save',
}

export const MEDIA_TYPE = {
  VIDEO: 1,
  IMAGE: 5,
}

/**
 * 寬視頻 or 長視頻
 */
export const RATIO_TYPE = {
  HORIZONTAL: 5,
  VERTICAL: 1,
}

// 視頻長度限制 5 分鐘
export const VIDEO_SECOND_LIMIT = 60 * 5

export const VIDEO_SLICE_STATUS = {
  PENDING: 1,
  SUCCESS: 5,
  FAILURE: 10,
  SLICING: 15,
}

export const PREVIEW = {
  OPEN: 1,
  CLOSE: 2,
}
